<template>
	<view class="list-container">
		<List ref="list" 
			:type="type"
		/>
	</view>
</template>

<script>
import List from '@/components/List/List.vue';
export default {
	components: {
		List
	},
	async onLoad(e) {
		this.type = e.type;
	},
	data() {
		return {
			type: ''
		};
	},
	onPullDownRefresh() {
		this.$refs.list.pullDownRefreshHandler();
	},
	onReachBottom() {
		this.$refs.list.reachBottomHandler();
	},
	methods: {
		
		
	}
};
</script>

<style lang="scss"></style>
